/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package analisadorSintatico;

import javax.swing.tree.DefaultMutableTreeNode;
import modelo.Token;

/**
 *
 * @author DEP
 */
public class Nofolha implements No{
    
    Token token = null;

    public Nofolha(Token token) {
        this.token = token;
    }

    public Token getToken() {
        return token;
    }   

    @Override
    public DefaultMutableTreeNode getNo() {
      return new DefaultMutableTreeNode(token.getToken());
    }
    
}
